DataSource for Entity Framework in WPF
C1.LiveLinq.LiveViews Namespace / OrderedView<T> Class / ThenByDescending<TKey> Method
The type of the key returned by keySelector.
A function to extract a key from each element.

In This Topic
    ThenByDescending<TKey> Method (OrderedView<T>)
    In This Topic
    Performs a subsequent ordering of view elements in descending order according to a key.
    Syntax
    'Declaration
     
    Public Function ThenByDescending(Of TKey)( _
       ByVal keySelector As Expression(Of Func(Of T,TKey)) _
    ) As OrderedView(Of T)
    public OrderedView<T> ThenByDescending<TKey>( 
       Expression<Func<T,TKey>> keySelector
    )

    Parameters

    keySelector
    A function to extract a key from each element.

    Type Parameters

    TKey
    The type of the key returned by keySelector.

    Return Value

    A view whose elements are sorted in descending order according to a key.
    See Also